﻿<UserControl
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:my="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data"
    xmlns:local="clr-namespace:BouncingPlane" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" x:Class="BouncingPlane.Page"
    Loaded="UserControl_Loaded" mc:Ignorable="d" d:DesignWidth="963" d:DesignHeight="602">

<UserControl.Resources>
<Storyboard x:Name="SocialButtonMouseOverStoryboard"/>
</UserControl.Resources>
    <Grid x:Name="LayoutRoot">
    	<Grid.Background>
    		<ImageBrush ImageSource="images/background2_.png"/>
    	</Grid.Background>
        <Grid.RowDefinitions>
            <RowDefinition Height="*"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>

        <Border Style="{StaticResource Floor}" Grid.RowSpan="2" Margin="0,56,18,-56" d:LayoutOverrides="GridBox"/>

        <Border Style="{StaticResource Frame}"
                MouseMove="Border_MouseMove"
                x:Name="button1" MouseLeftButtonDown="Button_MouseLeftButtonDown" Margin="153,77,170,173" d:IsHidden="True">

            <Border BorderThickness="3" BorderBrush="Silver" x:Name="PlaceHolder" Background="#0FFF">
                <Border x:Name="ChildHolder"/>
            </Border>

        </Border>
		 <Canvas Height="33" HorizontalAlignment="Right" VerticalAlignment="Bottom" Width="35" Margin="0,0,18,125">
		 	<MediaElement x:Name="mediaBgSound" Height="2" Width="2" Canvas.Left="8" Canvas.Top="8" Source="/images/Kalimba.mp3" Volume="43.5"/>
		 	<Image Height="35" Width="35" Source="images/sound-SH-icon.png" Stretch="Fill" MouseLeftButtonDown="SoundOnOff"/>
		 	<Path x:Name="mediaIndicator" Stretch="Fill" StrokeThickness="3" StrokeLineJoin="Round" Stroke="Red" Data="F1 M 107.333,142L 254,253.333" Height="33" Width="35" UseLayoutRounding="False" Fill="#FFFC0000" Visibility="Collapsed"/>
		 </Canvas>
		 <Image Height="39" HorizontalAlignment="Right" VerticalAlignment="Bottom" Width="39" Source="images/window-fullscreen-icon.png" Margin="0,0,57,119" MouseLeftButtonDown="Image_MouseLeftButtonDown"/>
      </Grid>

</UserControl>
